package com.gitee.loyo.page;

import com.gitee.loyo.BridgeConfig;
import com.gitee.loyo.Bridges;
import com.gitee.loyo.Endpoints;

import java.util.ArrayList;
import java.util.List;

public class BridgePage {
    public List<Bridges.Bridge> bridges = BridgeConfig.INSTANCE.bridges;
    public List<Endpoints.Endpoint> hosts = new ArrayList<>(Endpoints.endpoints.values());

    public List<Bridges.Bridge> getBridges() {
        return bridges;
    }

    public List<Endpoints.Endpoint> getHosts() {
        return hosts;
    }
}
